package com.xjh.controller;

import com.xjh.bo.AclUserBO;
import com.xjh.bo.TestValidBO;
import com.xjh.utils.resultutils.ResponseObj;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import java.util.List;

/**
 * @author XuJianHua
 * @version 1.0
 * @company 湖南安第斯信息科技有限公司, 版权所有
 * @date 2022/7/22 10:05
 */
@RestController
@RequestMapping("/api/test")
public class TestSomeThingController {
    @PostMapping("/testValid")
    public ResponseObj queryAll(@Valid @RequestBody TestValidBO testValidBO) {

        ResponseObj responseObj = new ResponseObj();
        return responseObj.ok("牛啊");
    }
}
